<template>
  <div class="demo">
    <iframe :src='getImgUrl()' width="100%" height="100%" ></iframe>
  </div>
</template>

<script>
export default {
  name: 'demo-qianxi',
  created() {
      this.getData();
      window['changeCity'] = (city) => {
        this.changeCity(city);
      };
    },
  methods: {
    getImgUrl(){
      let url = '/qianxi/index.html';
      return url;
    },
    changeCity(city){
      console("changeCity",city)
    }
  }
}
</script>

<style scoped>
.demo{
	height: 100%;
  width: 100%; 
}
</style>
